import {getMovieRequest} from "../../api/getMovieRequest"
import store from "../store"
export const getMovieAction=()=>{
    return  async()=>{
      const re=await getMovieRequest()
      store.dispatch({
        type:"getMovie",
        data:re.data.data.list
      })
    }
}